Optimal. Leaf size=42 \[ -\frac {b x}{c \sqrt {\pi }}+\frac {\sqrt {\pi +c^2 \pi x^2} \left (a+b \sinh ^{-1}(c x)\right )}{c^2 \pi } \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {5798, 8}
\begin {gather*} \frac {\sqrt {\pi c^2 x^2+\pi } \left (a+b \sinh ^{-1}(c x)\right )}{\pi c^2}-\frac {b x}{\sqrt {\pi } c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 5798
Rubi steps
\begin {align*} \int \frac {x \left (a+b \sinh ^{-1}(c x)\right )}{\sqrt {\pi +c^2 \pi x^2}} \, dx &=\frac {\sqrt {\pi +c^2 \pi x^2} \left (a+b \sinh ^{-1}(c x)\right )}{c^2 \pi }-\frac {\left (b \sqrt {1+c^2 x^2}\right ) \int 1 \, dx}{c \sqrt {\pi +c^2 \pi x^2}}\\ &=-\frac {b x \sqrt {1+c^2 x^2}}{c \sqrt {\pi +c^2 \pi x^2}}+\frac {\sqrt {\pi +c^2 \pi x^2} \left (a+b \sinh ^{-1}(c x)\right )}{c^2 \pi }\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 49, normalized size = 1.17 \begin {gather*} \frac {-b c x+a \sqrt {1+c^2 x^2}+b \sqrt {1+c^2 x^2} \sinh ^{-1}(c x)}{c^2 \sqrt {\pi }} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.15, size = 72, normalized size = 1.71
method | result | size |
default | \(\frac {a \sqrt {\pi \,c^{2} x^{2}+\pi }}{\pi \,c^{2}}+\frac {b \left (\arcsinh \left (c x \right ) x^{2} c^{2}+\arcsinh \left (c x \right )-\sqrt {c^{2} x^{2}+1}\, c x \right )}{c^{2} \sqrt {\pi }\, \sqrt {c^{2} x^{2}+1}}\) | \(72\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 55, normalized size = 1.31 \begin {gather*} -\frac {b x}{\sqrt {\pi } c} + \frac {\sqrt {\pi + \pi c^{2} x^{2}} b \operatorname {arsinh}\left (c x\right )}{\pi c^{2}} + \frac {\sqrt {\pi + \pi c^{2} x^{2}} a}{\pi c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 96 vs.
\(2 (38) = 76\).
time = 0.37, size = 96, normalized size = 2.29 \begin {gather*} \frac {\sqrt {\pi + \pi c^{2} x^{2}} {\left (b c^{2} x^{2} + b\right )} \log \left (c x + \sqrt {c^{2} x^{2} + 1}\right ) + \sqrt {\pi + \pi c^{2} x^{2}} {\left (a c^{2} x^{2} - \sqrt {c^{2} x^{2} + 1} b c x + a\right )}}{\pi c^{4} x^{2} + \pi c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.39, size = 60, normalized size = 1.43 \begin {gather*} \frac {a \left (\begin {cases} \frac {x^{2}}{2} & \text {for}\: c^{2} = 0 \\\frac {\sqrt {c^{2} x^{2} + 1}}{c^{2}} & \text {otherwise} \end {cases}\right )}{\sqrt {\pi }} + \frac {b \left (\begin {cases} - \frac {x}{c} + \frac {\sqrt {c^{2} x^{2} + 1} \operatorname {asinh}{\left (c x \right )}}{c^{2}} & \text {for}\: c \neq 0 \\0 & \text {otherwise} \end {cases}\right )}{\sqrt {\pi }} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {x\,\left (a+b\,\mathrm {asinh}\left (c\,x\right )\right )}{\sqrt {\Pi \,c^2\,x^2+\Pi }} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________